Package com.cisco.pt.ipc.sim.pdu
Interface HTTPResponse
- All Superinterfaces:
Header,HTTPHeader,HTTPResponseHeader,IPCData,Pdu,Signal
- All Known Subinterfaces:
HTTPsResponse
- All Known Implementing Classes:
HTTPResponseImpl,HTTPsResponseImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetHttpResponseStatus(HTTPResponseStatusType httpResponseStatus) voidsetResponse(HTTPType response) voidsetVersion(String version) Methods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.HTTPHeader
getIsHttps, getType, setIsHttps, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.HTTPResponseHeader
getResponseHeaders, setResponseHeadersMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getVersion
String getVersion()- Returns:
- String Returns a String
-
setVersion
- Parameters:
version- Takes in a parameter of version
-
getResponse
HTTPType getResponse()- Returns:
- HTTPType Returns a HTTPType
-
setResponse
- Parameters:
response- Takes in a parameter of response
-
getHttpResponseStatus
HTTPResponseStatusType getHttpResponseStatus()- Returns:
- HTTPResponseStatusType Returns a HTTPResponseStatusType
-
setHttpResponseStatus
- Parameters:
httpResponseStatus- Takes in a parameter of httpResponseStatus
-